c# write text before user input

79

c# write text before user input -

Console.Write("Enter username: ");
string userName = Console.ReadLine();
Console.WriteLine("Username is: " + userName);
// OUTPUT:
// Enter username: example username
// Username is: example username

Comments

Submit
0 Comments